$(function()
{

    var options =
    {
	minChars: 2,
	delimiter: ', ',
	deferRequestBy: 300,
	lookup : suggestions
    };
    
    $('#tags').autocomplete(options);

});